package com.yongxing.plugin;

import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

/**
 * @author Mr.J
 * @date 2019/8/12
 * 描述：
 */
public class PluginOneActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        int layoutId = R.layout.activity_plugin_one;
        Log.e("jiang", "layoutId--" + layoutId);
        setContentView(layoutId);
    }

    public void startTwoActivity(View view) {
        Intent intent = new Intent();
        intent.setComponent(new ComponentName("com.yongxing.plugin",
                "com.yongxing.plugin.PluginTwoActivity"));
        startActivity(intent);
    }
}
